package main

import (
	"fmt"
	"github.com/gin-gonic/gin"
	"library/route"
)

func main() {
	r := gin.Default()
	r = route.RegisterRoute(r)

	err := r.Run("localhost:8888")
	if err != nil {
		fmt.Println(err)
		return
	}
}